import request from '@/utils/request'

export const registerUser = (data) => {
  return request({
    url:'ucenter/member/registerUser',
    method:'post',
    data
  })
}

export const loginUser = (data) => {
  return request({
    url:'ucenter/member/loginUser',
    method:'post',
    data
  })
}

export const getMemberInfo = (data) => {
  return request({
    url:'ucenter/member/getMemberInfo',
    method:'get',
    params:data
  })
}


export const sendMessage = (data) => {
  return request({
    url:`edumsm/msm/send/${data}`,
    method:'get'
  })
}

export default { registerUser, loginUser, getMemberInfo, sendMessage }